﻿@model SAKS.Models.Organization

    <fieldset >
    <legend>单位信息</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            <input class="validate[required,ajax[AjaxOrganizationShouldntExist]]" id="Name" name="Name" type="text" value="@(Model != null ? Model.Name : "")" />
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ProvinceMinistry)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ProvinceMinistry)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Location)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Location)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ContactPerson)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ContactPerson)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Postalcode)
        </div>
        <div class="editor-field">
            <input class="text-box single-line validate[custom[postcalCode],required]" id="Postalcode" name="Postalcode" type="text" value="@(Model != null ? Model.Postalcode :"")" />
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Tel)
        </div>
        <div class="editor-field">
             <input class="text-box single-line validate[custom[phone]]" id="Tel" name="Tel" type="text" value="@(Model != null ? Model.Tel : "")" />
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.OrganizationType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.OrganizationType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MailingAddress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MailingAddress)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Email)
        </div>
        <div class="editor-field">
            <input class="text-box single-line validate[custom[email]]" id="Email" name="Email" type="text" value="@(Model != null ? Model.Email : "")" />

        </div>

                    <p>
            <input type="submit" value="保存" />
        </p>
    </fieldset>



